/**
 * com.dingjian.permission.service.impl.JobPermissionServiceImpl.java
 */
package com.dingjian.broker.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.dingjian.base.dao.BaseDao;
import com.dingjian.base.service.impl.BaseServiceImpl;
import com.dingjian.broker.dao.BelongPersonDao;
import com.dingjian.broker.model.BelongPerson;
import com.dingjian.broker.model.Customer;
import com.dingjian.broker.service.BelongPersonService;

/**
 * @author google
 *
 * @since 2012-10-7
 */
@Component(value="belongPersonService")
@Transactional
public class BelongPersonServiceImpl extends BaseServiceImpl<BelongPerson>
		implements BelongPersonService {
	@Autowired
	private BelongPersonDao belongPersonDao;
	
	@Override
	public void addEntity(BelongPerson bp) {
		super.addEntity(bp);
	}

	@Override
	protected BaseDao getDao() {
		return belongPersonDao;
	}

}
